package com.itheima.day04.ZuoYe.ZuoYe2;

import java.util.Objects;

public class test {
    public static void main(String[] args) {
        CAT c = new CAT("x",1,"n");
        CAT c2 = new CAT("x",2,"n");
        System.out.println(Objects.equals(c, c2));
    }

}
